//
//  AppDelegate.swift
//  ReferenceFunctionDemo
//
//  Created by MACBOOK on 2016/12/16.
//  Copyright © 2016年 刘袭锐. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        return true
    }

   

}



/**
 * message  : 是动态泛型变量
 * file     : 文件名
 * funcName : 方法名
 * lineNum  : 行数
 */
func LXRLog<T>(message : T , file : String = #file , funcName : String = #function,lineNum : Int = #line){
    
    #if DEBUG
        
        let fileName = (file as NSString).lastPathComponent
        print("\(fileName) 第\(lineNum)行---\(message)")
        //print("方法名:\(funcName)")
        
    #endif
}
